package com.spider.util;

public class SpiderCondition {

	/**任务线程池 中最大 线程数 属性*/
	public static final String MAX_THREAD_NUM = "max_thread_num";
	
	/**httpclient 线程池最大值 属性*/
	public static final String HTTPCLIENT_CONNECTION_MAX_SIZE = "httpclinet_connection_max_total";
	
	/**httpclient 线程池默认大小 属性*/
	public static final String HTTPCLIENT_CONNECTION_DEFAULT_SIZE="httpclinet_connection_default_total";
	
	/**httpclient 链接失效 属性*/
	public static final String HTTPCLIENT_CONNECTION_TIMEOUT="httpclient_connection_timeout";
	
	/**mongodb 的属性配置信息*/
	public static final String MONGODB_IP="mongodb_ip";
	public static final String MONGODB_PORT="mongodb_port";
	public static final String MONGODB_DB="mongodb_db";
	public static final String MONGODB_POOL_SIZE="mongodb_pool_size";
	
	/**检索关键字的 key*/
	public static final String QUERY_KEY_WORD="key_word";
	/**检索的工作地点*/
	public static final String QUERY_JOB_ADDRESS="job_address";
	
	/**mongodb 中保存jobbean 的table name*/
	public static final String JOB_BEAN_TABLE_NAME=SpiderProperties.getString("mongodb_jobname");
	/**mongodb 中保存job  email 的table name*/
	public static final String JOB_EMAIL_BEAN_TABLE_NAME=SpiderProperties.getString("mongodb_jobemail");
	/**mongodb 中保存job 发邮件失败的 email*/
	public static final String JOB_FALSE_EMAIL_TABLE_NAME=SpiderProperties.getString("mongodb_jobemailfalse");
	
	/**发送邮件内容 文件path*/
	public static final String EMAIL_CONTENT_PATH=SpiderProperties.getString("email_content_path");
	/**发送邮件服务器**/
	public static final String EMAIL_SERVER=SpiderProperties.getString("email_service");
	/**发送邮件端口**/
	public static final String EMAIL_SERVER_PORT=SpiderProperties.getString("email_service_port");
	/**用户名**/
	public static final String EMAIL_USERNAME=SpiderProperties.getString("email_username");
	/**密码**/
	public static final String EMAIL_PASSWD=SpiderProperties.getString("email_passwd");
	/**发送邮件邮箱**/
	public static final String EMAIL_FROM_ADDRESS=SpiderProperties.getString("email_from_address");
	
	/**发送邮件过滤关键字， 根据email 过滤*/
	public static final String EMAIL_NOT_PWSS_WORD = SpiderProperties.getString("email_not_pass_word");
	/**邮件发送的起始页*/
	public static final int EMAIL_START_PAGE=Integer.parseInt(SpiderProperties.getString("send_mail_start_page"));
	/**邮件发送的结束页*/
	public static final int EMAIL_END_PAGE=Integer.parseInt(SpiderProperties.getString("send_mail_end_page"));
	
}
